﻿@model IEnumerable<HelpInfo.GetMsWeb.Models.PlanningViewModel>

@{
    ViewBag.Title = "IndexIndividuel";
}

<h2> Planning Individuel @ViewBag.FullName</h2>
<h3>Matricule: @User.Identity.Name</h3>

    <table class="table">
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Jour)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.NomComplet)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Num_semaine)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Type_Prise1)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Heure_début1)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Heure_fin1)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Pause1)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Repas1)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IDEtablissement1)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Type_Prise2)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Heure_début2)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Heure_fin2)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Pause2)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Repas2)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IDEtablissement2)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Type_Prise3)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Heure_début3)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Heure_fin3)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Repas3)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IDEtablissement3)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.nuit)
            </th>
            <th></th>
        </tr>

    @foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Jour)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.NomComplet)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Num_semaine)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Type_Prise1)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Heure_début1)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Heure_fin1)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Pause1)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Repas1)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IDEtablissement1)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Type_Prise2)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Heure_début2)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Heure_fin2)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Pause2)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Repas2)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IDEtablissement2)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Type_Prise3)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Heure_début3)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Heure_fin3)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Repas3)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IDEtablissement3)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.nuit)
            </td>
            <td>
                @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            </td>
        </tr>
    }

    </table>
